const orderRouter = {
  path: "/order",
  name: "order",
  redirect: "/order/list",
  meta: {
    icon: "Avatar",
    title: "message.orderList",
    showLink: true,
    i18n: true,
    rank: 3
  },
  children: [
    {
      path: "/order/list",
      name: "orderList",
      meta: {
        title: "message.orderList",
        i18n: true,
        showLink: true,
        realPath: "/order"
      }
    },
    {
      path: "/order/info",
      name: "orderInfo",
      meta: {
        title: "message.orderInfo",
        i18n: true,
        showLink: false,
        realPath: "/order/info",
        refreshRedirect: "/order/list"
      }
    }
  ]
};

export default orderRouter;
